﻿namespace SmartProduction.Read.API.Dto
{

    /// <summary>
    /// 生产工单的详情页面
    /// </summary>
    public class SCWorkOrderXQDtos
    {
        /// <summary>
        /// 基本信息的ID
        /// </summary>
        public int WorkOrderId { get; set; }
        /// <summary>
        /// 工单名称
        /// </summary>
        public string WorkOrderName { get; set; }
        /// <summary>
        /// 工单编号
        /// </summary>
        public string WorkOrderNumber { get; set; }
        /// <summary>
        /// 生产单号--关联生产单号
        /// </summary>
        public int AssociatedProductionOrderNumber { get; set; }
        /// <summary>
        /// 销售订单
        /// </summary>
        public string SalesOrder { get; set; }
        /// <summary>
        /// 关联项目
        /// </summary>
        public string AssociatedProject { get; set; }

        /// <summary>
        /// 工单日期
        /// </summary>
        public DateTime WorkOrderDate { get; set; }
        /// <summary>
        /// 负责人
        /// </summary>
        public string PersoninCharge { get; set; }
        /// <summary>
        /// 所属部门
        /// </summary>
        public string AffiliatedDepartment { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Remarks { get; set; }
        /// <summary>
        /// 附件
        /// </summary>
        public string? WenJian { get; set; }


        /// <summary>
        ///  // 物品名称
        /// </summary>
        public int itemName { get; set; }
        /// <summary>
        /// // 物品编号
        /// </summary>
        public string itemNumber { get; set; }
        /// <summary>
        ///  // 规格型号
        /// </summary>
        public string specification { get; set; }
        /// <summary>
        /// // 单位
        /// </summary>
        public string unit { get; set; }
        /// <summary>
        /// // 物品类别
        /// </summary>
        public string itemCategory { get; set; }
        /// <summary>
        ///  // 物品分类
        /// </summary>
        public string itemClassification { get; set; }
        /// <summary>
        /// // 计划开始时间
        /// </summary>
        public DateTime plannedStartTime { get; set; }
        /// <summary>
        /// // 计划结束时间
        /// </summary>
        public DateTime plannedEndTime { get; set; }
        /// <summary>
        ///  // 计划产量
        /// </summary>
        public int plannedOutput { get; set; }
        /// <summary>
        /// 工序流程编号
        /// </summary>
        public int ProcessFlowSheetId { get; set; }
        /// <summary>
        ///  // 工序编码
        /// </summary>
        public string ProcessCode { get; set; }
        /// <summary>
        ///  // 工序名称
        /// </summary>
        public string ProcessName { get; set; }
        /// <summary>
        ///  // 加工顺序
        /// </summary>
        public int ProcessingOrder { get; set; }
        /// <summary>
        ///  // 工艺流程
        /// </summary>
        public string ProcessFlow { get; set; }
        /// <summary>
        ///  // 负责人
        /// </summary>
        public string PesponsiblePerson { get; set; }
        /// <summary>
        ///  // 所在部门
        /// </summary>
        public string Pepartment { get; set; }
        /// <summary>
        /// // 计划开始时间
        /// </summary>
        public DateTime PlannedStartDate { get; set; }
        /// <summary>
        ///  // 计划结束时间
        /// </summary>
        public DateTime PlannedEndDate { get; set; }
        /// <summary>
        ///   // 计划产量（标注“*”表示必填，实际代码中可通过业务逻辑控制）
        /// </summary>
        public int PlannedQuantity { get; set; }

        /// <summary>
        /// 生产单号名称
        /// </summary>
        public string SCDHao { get; set; }
        /// <summary>
        /// 生产单的物品名称
        /// </summary>
        public string SCWName { get; set; }
    }
}
